package com.distributeredis.redis_springboot.springaop.impl;

import com.alibaba.fastjson.JSON;
import com.distributeredis.redis_springboot.springaop.LogService;
import com.distributeredis.redis_springboot.springaop.vo.User;
import org.springframework.stereotype.Service;

@Service
public class LogServiceImpl implements LogService {
    @Override
    public String logTest(User user) {
        return JSON.toJSONString(user);
    }

    @Override
    public String logTest2(String school, String address) {
        return school + ":" + address;
    }
}
